/**
 * Copyright (C) 2019-2021 杭州优诗科技有限公司
 *
 * This file is part of UnitSpirit.
 * @author wupingfu
 * @version 1.0.0
 * 
 **/
package com.unitspirit.sample.generics;

import com.alibaba.fastjson.JSON;

/**
 * @author wupf
 *
 */
abstract class Base<T extends Comparable<T>> {

	T data;

	public Base(String json) {
		this.data = (T) JSON.parse(json);
	}
}